package com.example.dao;

import com.example.entity.Employee;
import org.springframework.stereotype.Repository;
import java.util.List;

/**
 * @date 2020/8/13 18:29
 */
@Repository("employeeDao")
public interface EmployeeDao {

    void insert(Employee employee);
    void delete(Integer id);
    void update(Employee employee);
    Employee selectById(Integer id);
    List<Employee> selectAll();

}
